/**
 * <p>Copyright:Copyright(c) 2019</p>
 * <p>Company:Professional</p>
 * <p>Package:com.cesgroup.zw.spring.boot.echarts.component.series</p>
 * <p>File:Tree.java</p>
 * <p>类更新历史信息</p>
 * @todo chanlong(陈龙) 创建于 Jun 3, 2019 1:32:50 PM
 */
package com.cesgroup.zw.spring.boot.echarts.component.series;

import com.cesgroup.zw.spring.boot.echarts.component.series.parent.SymbolSeries;
import com.cesgroup.zw.spring.boot.echarts.enums.Layout;
import com.cesgroup.zw.spring.boot.echarts.enums.Orient;
import com.cesgroup.zw.spring.boot.echarts.model.LeaveStyle;
import com.cesgroup.zw.spring.boot.echarts.model.style.LineStyle;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>描述: 树图</p>
 * <p>Company: Professional</p>
 * @author chanlong(陈龙)
 * @date Jun 3, 2019 1:32:50 PM
 * @version 1.0.2019
 */
@Data @SuppressWarnings("serial")
@EqualsAndHashCode(callSuper = true)
public class Tree extends SymbolSeries {

	/** tree组件离容器上侧的距离，[default: '12%'] */
	private Object top;
	
	/** tree组件离容器左侧的距离，[default: '12%'] */
	private Object left;
	
	/** tree组件离容器右侧的距离，[default: '12%'] */
	private Object right;
	
	/** tree组件离容器下侧的距离，[default: '12%'] */
	private Object bottom;
	
	/** tree组件的宽度，[default: null] */
	private Object width;
	
	/** tree组件的高度，[default: null] */
	private Object height;
	
	/** 树图的布局，有“正交”和“径向”两种，[default: 'orthogonal'] */
	private Layout layout;
	
	/** 树图中“正交布局”的方向，[default: 'LR'] */
	private Orient orient;
	
	/** 是否开启鼠标缩放和平移漫游，[default: false] */
	private Object roam;
	
	/** 子树折叠和展开的交互，[default: true] */
	private Boolean expandAndCollapse;
	
	/** 树图初始展开的层级（深度），[default: 2] */
	private Integer initialTreeDepth;
	
	/** 树图边的样式 */
	private LineStyle lineStyle;
	
	/** 叶子节点的特殊样式 */
	private LeaveStyle leaves;
	
	public Tree() {
		this.setType("tree");
	}
}
